package com.xc.freeapp.dao;

import java.util.List;
import java.util.Map;

import com.xc.freeapp.entity.HospitalScheduling;
import com.xc.freeapp.entity.Scheduling;

public interface HospitalSchedulingMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(HospitalScheduling record);

    int insertSelective(HospitalScheduling record);

    HospitalScheduling selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(HospitalScheduling record);

    int updateByPrimaryKey(HospitalScheduling record);
    
    List<HospitalScheduling> selectByHospitalid(Map<String,Object> maps);
    
    public int addbookreg(HospitalScheduling record);
    
    public int reducebookreg(HospitalScheduling record);
}